package com.qmyx.supply.admin.annotation.oplog;

/**
 * 操作日志类型
 */
public enum LogOptType {

    DEFAULT(-1,"默认"),
    QUERY(0,"查询"),
    ADD(1,"新增"),
    UPDATE(2,"修改"),
    DELETE(3,"删除"),
    EXPORT(4,"导出"),
    AUDIT(5,"审核"),
    OTHER(100,"其它");

    private int type;

    private String desc;

    LogOptType(int type,String desc){
        this.type = type;
        this.desc = desc;
    }

    public int getType(){
        return this.type;
    }

    public String getDesc(){
        return this.desc;
    }

}
